var app = new Vue({
	el: '#app',
	data: {
		show: false
	},
	methods: {
		handleClose: function(){
			this.show = false;
		},
		handleCloseEsc: function(){
			function keyupHandler(e){
				alert(1)
				if(27 === e.keyCode){
					this.handleClose();
				}
			}
			document.addEventListener('keyup',keyupHandler)
		}
	}
})